﻿namespace Diploma.Models
{
    public partial class User
    {
        public string FullName
        {
            get { return ToString(); }
        }

        public new string ToString()
        {
            return string.Format("{0} {1} {2}", Surname.Trim(), Name.Trim(), Patronymic.Trim());
        }
    }
}